package com.borrowed.book.book.domain;

import com.borrowed.book.book.entity.domain.vo.PayOrderCreateInVo;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.List;

public class PayOrderInDto extends PayOrderCreateInVo {
    @ApiModelProperty(value ="买家名称，收件地址获取",dataType = "String",example = "老王")
    private String buyName;
    @ApiModelProperty(value ="买家电话，收件地址获取",dataType = "String",example = "18896959745")
    private String buyPhone;
    @ApiModelProperty(value ="买家地址，收件地址获取",dataType = "String",example = "江苏省苏州市工业园区启泰路96号")
    private String buyAddress;
    @ApiModelProperty(value ="总金额",dataType = "BigDecimal",example = "200")
    private BigDecimal payAmount;
    @ApiModelProperty(value ="租金",dataType = "BigDecimal",example = "150")
    private BigDecimal rentMoney;
    @ApiModelProperty(value ="押金",dataType = "BigDecimal",example = "90")
    private BigDecimal cashPledge;
    @ApiModelProperty(value ="邮费",dataType = "BigDecimal",example = "10")
    private BigDecimal postage;
    @ApiModelProperty(value ="优惠",dataType = "BigDecimal",example = "50")
    private BigDecimal discountsMoney;
    @ApiModelProperty(value ="订单类型,字典：orderType",dataType = "String",example = "1")
    private String orderType;
    @ApiModelProperty(value ="订单留言",dataType = "String",example = "需要书签")
    private String msg;
    @ApiModelProperty(value ="安心租，yesOrNo",dataType = "String",required = true)
    private String restFlag;

    @ApiModelProperty(value ="优惠券ID",dataType = "Long",example = "1")
    private Long couponId;

    @ApiModelProperty(value ="书籍id集合",dataType = "List")
    private List<Long> bookIds;

    @ApiModelProperty(value ="会员ID",dataType = "Long",example = "1")
    private Long cardId;

    public String getRestFlag() {
        return restFlag;
    }

    public void setRestFlag(String restFlag) {
        this.restFlag = restFlag;
    }

    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getBuyName() {
        return buyName;
    }

    public void setBuyName(String buyName) {
        this.buyName = buyName;
    }

    public String getBuyPhone() {
        return buyPhone;
    }

    public void setBuyPhone(String buyPhone) {
        this.buyPhone = buyPhone;
    }

    public String getBuyAddress() {
        return buyAddress;
    }

    public void setBuyAddress(String buyAddress) {
        this.buyAddress = buyAddress;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public BigDecimal getRentMoney() {
        return rentMoney;
    }

    public void setRentMoney(BigDecimal rentMoney) {
        this.rentMoney = rentMoney;
    }

    public BigDecimal getCashPledge() {
        return cashPledge;
    }

    public void setCashPledge(BigDecimal cashPledge) {
        this.cashPledge = cashPledge;
    }

    public BigDecimal getPostage() {
        return postage;
    }

    public void setPostage(BigDecimal postage) {
        this.postage = postage;
    }

    public BigDecimal getDiscountsMoney() {
        return discountsMoney;
    }

    public void setDiscountsMoney(BigDecimal discountsMoney) {
        this.discountsMoney = discountsMoney;
    }

    public List<Long> getBookIds() {
        return bookIds;
    }

    public void setBookIds(List<Long> bookIds) {
        this.bookIds = bookIds;
    }

    public Long getCardId() {
        return cardId;
    }

    public void setCardId(Long cardId) {
        this.cardId = cardId;
    }
}
